package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Permission;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface PermissionService {

    void deleteById(Long id);
    void updateOrSave(Permission permission);
    Permission getById(Long id);
    List<Permission> selectAll();
    PageResult query(QueryObject qo);
    void load();
}
